<%--
  Created by IntelliJ IDEA.
  User: 云哥
  Date: 2023/6/3
  Time: 17:00
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>添加图书信息</title>
    <style>
        #box{
            width: 400px;
            margin: 50px auto;
        }
        h3 {
            text-align: center;
        }
        select{
            width: 175px;
            height: 21px;
            padding: 0;
            margin: 0;
        }
        button{
            margin-left: 100px;
        }
    </style>
</head>
<body>
<div id="box">
    <h3>新增图书信息</h3>
    <form id="addBook" >
        <p>图书名称：<input type="text" name="name"></p>
        <p>图书作者：<input type="text" name="author"></p>
        <p>购买日期：<input type="text" name="time">yyyy-MM-dd格式</p>
        <p>图书类别：<select>
            <option value="0">选择所属分类</option>
            <option value="1">计算机/软件</option>
            <option value="2">小说/文摘</option>
            <option value="3">杂项</option>
        </select></p>
        <p><button type="submit">增加图书</button></p>
    </form>
</div>
</body>
</html>
